html,
body,
#root {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
  'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
  'Noto Color Emoji';
}

.ant-layout {
  min-height: 100vh;
}

.ant-pro-sider.ant-layout-sider.ant-pro-sider-fixed {
  left: unset;
}

.ant-pro-global-header-header-actions-avatar {
  padding-inline-end: 0;
}

.ant-pro .ant-pro-layout .ant-pro-sider .ant-layout-sider-children {
  padding-inline: 0 !important;
  padding: 8px !important;
}

.ant-layout .ant-layout-sider-children .ant-menu.ant-menu-inline-collapsed .ant-menu-title-content {
  padding-left: 10px;
}

.ant-pro-page-container-children-content {
  padding: 0 !important;
}

canvas {
  display: block;
}

body {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

ul,
ol {
  list-style: none;
}

@media (max-width: 768px) {
  .ant-table {
    width: 100%;
    overflow-x: auto;

    &-thead > tr,
    &-tbody > tr {
      > th,
      > td {
        white-space: pre;

        > span {
          display: block;
        }
      }
    }
  }
}

/* 表格样式 \\start */
.ant-table-thead {
  background: #fafafa !important;
}

.ant-table-wrapper .ant-table-thead > tr > th {
  border-bottom: 0 !important;
}

.ant-table-tbody > tr.ant-table-row:hover > td:first-child {
  border-radius: 0 !important;
}

.ant-table-tbody > tr.ant-table-row:hover > td:last-child {
  border-radius: 0 !important;
}

.ant-table-tbody > tr.ant-table-row.ant-table-row-selected > td:first-child {
  border-radius: 0 !important;
}

.ant-table-tbody > tr.ant-table-row.ant-table-row-selected > td:last-child {
  border-radius: 0 !important;
}

.ant-table-wrapper .ant-table-tbody > tr.ant-table-row:hover > td {
  border-bottom: 1px solid #f0f0f0 !important;
  border-top: transparent !important;
  box-sizing: border-box !important;
}

.ant-table-tbody > tr > td {
  border-bottom: 1px solid #f0f0f0 !important;
  border-top: transparent !important;
  box-sizing: border-box !important;
}

/* 表格样式 \\end */
